/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nys.conci.base.validador.anotacion;

import com.nys.conci.base.validador.ClaveValidator;
import java.lang.annotation.*;
import javax.validation.Constraint;
import javax.validation.Payload;

/**
 *
 * @author gbsys
 */
@Documented
@Constraint(validatedBy = ClaveValidator.class)
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Clave {
    
    String message() default "{com.gbsys.prototipo.base.validador.Cedula}";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}
